home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Exchange
/
CD Exchange - Volume 1.iso
/
utils
/
misc
/
strings_1.1
/
source
/
free.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-10-28
|
259 b
|
21 lines
/*
* FILE
* free.c
*
* DESCRIPTION
* Free a memory block allocated by malloc() or calloc().
*/
#include <exec/types.h>
#include <exec/memory.h>
#include <proto/exec.h>
void
free(void * ptr)
{
FreeMem( ((long *)ptr)-1, * (((long *)ptr)-1));
}